<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>动画</title>
    <link rel="stylesheet" href="../styles/ball.css">
</head>

<body>
    <div id="ball" class="ball"></div>
</body>
<script src="./animate.js"></script>
<script>
    let ball = document.getElementById('ball');
    let animate = new Animate(ball);
    animate.start('left', 500, 5000, 'strongEaseOut');
	// animate.start( 'top', 1500, 500, 'strongEaseIn' );
</script>

</html>